<template>
  <div>
     <h2>我是父组件</h2>

     <son-component :sonMoney="fatherMoney" title="让你去黑马学习"></son-component>
   </div>
</template>
 
<script>
import SonComponent from "./SonComponent.vue"
export default {
  name:"FatherComponent",
  components:{
    SonComponent
  },
  data() {
    return {
      famoney:100
    };
  },
  
  methods: {}
};
</script>

<style scoped>
     
</style>